package com.BigDate.server.service;



import com.BigDate.server.pojo.Comment;
import com.BigDate.server.pojo.CommentNodeTreeVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface ProjectCommentService extends IService<CommentNodeTreeVo>
{
    List<CommentNodeTreeVo> findComment(Integer projectId);

    List<CommentNodeTreeVo> findChildComment(Integer commentId);

    int add(Comment comment);

    Page<CommentNodeTreeVo> findAll(Integer current, Integer size);

    int deleteById(Integer id);
}

